package com.raise.drive.model.dao;

import com.raise.drive.model.domain.Comment;
import com.raise.drive.model.search.CommentSearchRequest;

import java.util.List;

/**
 * Author: Evgeny Morozov
 */
public interface CommentDao<Answer> extends BaseDao<Answer> {

    public List<Comment> findComments(CommentSearchRequest searchRequest);

    public int getCommentsCount(CommentSearchRequest searchRequest);
}